//
//  UpdateDetailCell.m
//  DaysComicSugar
//
//  Created by dllo on 15/4/23.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "UpdateDetailCell.h"

@implementation UpdateDetailCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        [self creatView];
    }
    return self;
}

-(void)creatView
{
    self.titleLbael = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
    self.titleLbael.backgroundColor = [UIColor orangeColor];
    [self addSubview:self.titleLbael];
    [self.titleLbael release];
}

//-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
//    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        self.myImageView=[[UIImageView alloc]init];
//        [self.contentView addSubview:self.myImageView];
//        [self.myImageView release];
//
//        self.titleLbael=[[UILabel alloc]init];
//        [self.contentView addSubview:self.titleLbael];
//        [self.titleLbael release];
//
//
//
//
//        self.typeLabel=[[UILabel alloc]init];
//        [self.contentView addSubview:self.typeLabel];
//        [self.typeLabel release];
//
//
//
////        self.authorButton=[[UIButton alloc]init];
////        [self.authorButton addTarget:self action:@selector(change:) forControlEvents:UIControlEventTouchUpInside];
////        self.authorButton setTitle:<#(NSString *)#> forState:UIControlStateNormal];
//
//
//        self.moodsLabel=[[UILabel alloc]init];
//        [self.contentView addSubview:self.moodsLabel];
//        [self.moodsLabel release];
//
//
//        self.updateLabel=[[UILabel alloc]init];
//        [self.contentView addSubview:self.updateLabel];
//        [self.updateLabel release];
//
//
//
//        self.serializeLabel=[[UILabel alloc]init];
//        [self.contentView addSubview:self.serializeLabel];
//        [self.serializeLabel release];
//
//
//
//
//        self.abstractLabel=[[UILabel alloc]init];
//        [self.contentView addSubview:self.abstractLabel];
//        [self.abstractLabel release];



//    }
//    return self;
//}
//-(void)layoutSubviews{
//    [super layoutSubviews];
//    self.myImageView.frame=CGRectMake(10, 10, 100, 100);
//    self.titleLbael.frame=CGRectMake(130, 10, 100, 40);
//    UILabel *Type=[[UILabel alloc]initWithFrame:CGRectMake(130, 60, 100, 20)];
//    Type.text=@"所属类型:";
//    [self.contentView addSubview:Type];
//    [Type release];
//    self.typeLabel.frame=CGRectMake(240, 60, 100, 20);
//
//    UILabel *author=[[UILabel alloc]initWithFrame:CGRectMake(130, 90, 100, 20)];
//    author.text=@"作者:";
//    [self.contentView addSubview:author];
//    [author release];
//    self.authorButton.frame=CGRectMake(240, 90, 100, 20);
//
//    UILabel *moods=[[UILabel alloc]initWithFrame:CGRectMake(130, 120, 100, 20)];
//    moods.text=@"人  气:";
//    [self.contentView addSubview:moods];
//    [moods release];
//    self.moodsLabel.frame=CGRectMake(240, 120, 100, 20);
//
//    UILabel *update=[[UILabel alloc]initWithFrame:CGRectMake(130, 150, 100, 20)];
//    update.text=@"最近更新:";
//    [self.contentView addSubview:update];
//    [update release];
//    self.updateLabel.frame=CGRectMake(240, 150, 100, 20);
//
//    UILabel *serialize=[[UILabel alloc]initWithFrame:CGRectMake(130, 180, 100, 20)];
//    serialize.text=@"连载状态:";
//    [self.contentView addSubview:serialize];
//    [serialize release];
//    self.serializeLabel.frame=CGRectMake(240, 180, 100, 20);
//
//
//
//    UILabel *abstract=[[UILabel alloc]initWithFrame:CGRectMake(10, 120, 130, 50)];
//    abstract.text=@"内容摘要";
//    [self.contentView addSubview:abstract];
//    [abstract release];
//    self.abstractLabel.frame=CGRectMake(20, 190, 300, 200);
//
//
//}
//- (void)awakeFromNib {
//    // Initialization code
//
//}
//
//- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
//    [super setSelected:selected animated:animated];

// Configure the view for the selected state
//}
@end
